package com.liankuan.console.service;

import com.liankuan.console.controller.vo.AddExchangeVO;
import com.liankuan.console.dto.Exchange;

import java.util.List;

public interface ExchangeService {
    List<Exchange> exchangeLists();

    Exchange findById(int exchangeId);

    void updateExchangeInfo(Exchange exchange);

    void deleteExchangeInfo(int userId, int exchangeId);

    void addExchange(Exchange exchange,int userId);

    List<AddExchangeVO> findAllExchange();

    List<Exchange> findAllExchangeByIds(List<Integer> exchangeIds);

    List<AddExchangeVO> findAllExchangeByUserId(Integer userId);
}
